setGlobalDuration(12)

env = genAdsr()

spline(bus='spline', mini=.5, maxi=2, minrate=1, maxrate=5)
sine(pitch=500, pitchVar='spline', envelope=env)

startCsound()
